package edu.nf.relaxenjoy.mapper;

import edu.nf.relaxenjoy.domain.entity.Category;

import java.util.List;

/**
 * @author zhu
 * @date 2024-12-16
 */
public interface CategoryMapper {
    /**
     * 根据类别id查询类别
     * @param ids
     * @return
     */
    List<Category> listByIds(List<Long> ids);

    /**
     * 查询所有类别
     * @return
     */
    List<Category> getList();
}
